package day08_Extends.demo02_Extends;

public class Teacher extends person{

    private int money;
    public void job(){
        System.out.println("上课");
    }
    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
